WP_Defender\Upgrader D

Total Complexity 262
Dependencies 35
Dependents 0
Total lines 1,546
Lines of code 986
Logical lines of code 565
Comment lines 417
Methods 53
Properties 0

Methods 53

Method Rating Maintainability Complexity Lines of code
migrate_security_headers()
D
32 43 83
run()
D
33 32 96
upgrade_2_4_10()
A
41 14 57
update_webauthn_user_handle_core()
A
46 10 35
upgrade_2_4_2()
A
53 10 21
upgrade_4_1_0()
A
47 9 36
migrate_configs()
A
48 9 33
update_malware_scan_send_body()
A
49 9 33
upgrade_3_3_1()
A
48 7 37
update_malware_notification_setting()
A
49 7 33
update_malware_notification_config()
A
49 7 33
update_in_house_recipients_empty_role()
S
53 7 24
upgrade_3_8_2()
S
52 7 24
update_2fa_methods()
S
50 6 29
upgrade_3_3_3()
S
52 6 24
update_webauthn_user_handle()
S
54 6 20
upgrade_2_5_0()
S
58 6 16
force_nf_lockout_exclusions()
S
54 5 21
upgrade_3_11_0()
S
60 5 12
upgrade_2_6_1()
S
55 4 18
update_scan_error_send_body()
S
58 4 16
upgrade_3_12_0()
S
58 3 15
upgrade_2_5_6()
S
60 3 13
upgrade_3_8_0()
S
55 2 19
maybe_show_new_features()
S
67 3 8
add_country_iso_code_column()
S
58 2 14
add_index_to_defender_audit_log()
S
60 2 14
add_index_to_defender_lockout()
S
61 2 13
upgrade_3_9_0()
S
56 1 23
update_2fa_send_body()
S
67 2 9
add_index_to_defender_email_log()
S
66 2 8
add_index_to_defender_scan_item()
S
66 2 8
add_index_to_defender_lockout_log()
S
64 2 9
upgrade_4_0_0()
S
68 2 7
upgrade_3_2_0()
S
66 2 8
add_ua_lockout_to_firewall_notification()
S
68 2 7
replace_scan_email_content_issue_not_found()
S
63 1 13
upgrade_2_7_0()
S
61 1 12
replace_scan_email_content_issue_found_new()
S
63 1 12
replace_scan_email_subject_issue_found()
S
63 1 12
migrate_scan_integrity_check()
S
73 1 5
upgrade_4_2_0()
S
78 1 3
upgrade_4_4_2()
S
78 1 3
index_database()
S
67 1 9
upgrade_2_8_0()
S
75 1 5
replace_scan_email_content_error()
S
75 1 4
replace_scan_email_content_issue_found()
S
66 1 9
upgrade_2_8_3()
S
82 1 3
upgrade_3_5_0()
S
81 1 3
update_malware_scan_send_body_common()
S
75 1 4
delete_tmp_geolite_file()
S
75 1 4
upgrade_3_3_0()
S
78 1 4
upgrade_4_5_1()
S
73 1 5